package com.zhuss.repair.repair;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import com.zhuss.bean.bo.repair.repair.DetailRepairBo;
import com.zhuss.bean.bo.repair.repair.SearchRepairBo;
import com.zhuss.bean.bo.repair.repairKancha.RepairKanchaBo;
import com.zhuss.common.ReadService;
import com.zhuss.exception.WpsException;
import com.zhuss.repair.db.entity.Repair;
import com.zhuss.repair.processor.RepairKanchaRead;
import com.zhuss.repair.processor.RepairRead;
import com.zhuss.repair.processor.RepairWeiXiuRead;


/**
 * 餐品查询service（基本查询）
 * @author zhushanshuo
 * @Date 2020/02/28 16:01
 *
 */
@Component("repairWeiXiuReadService")
public class RepairWeiXiuReadService implements ReadService<Object, Object> {
	
	@Autowired
	@Qualifier("repairWeiXiuRead")
	private RepairWeiXiuRead repairWeiXiuRead;
	
	/**
	 * 详情
	 */
	@Override
	public Object detail(Object param) throws WpsException {
		/*RepairKanchaBo bo = (RepairKanchaBo) param;
		Integer repairId = bo.getRepair_id();
		Object vo = repairKanchaRead.detail(repairId);
		return vo;*/
		return null;
	}
	
	/**
	 * 列表
	 */
	@Override
	public Object list(Object param) {
		SearchRepairBo bo = (SearchRepairBo) param;
		Object result = repairWeiXiuRead.list(bo);
		return result;
	}



	
	
}

